package br.org.nomoney.vink.util.servlet;

import java.io.IOException;

import br.org.nomoney.vink.util.serialize.ObjectSerializationUtil;

@SuppressWarnings("serial")
public abstract class MethodCallerSerializedServlet extends MethodCallerServlet {

	@Override
	public Object fromBytesToObject(byte[] inContent) throws IOException,
			ClassNotFoundException {
		return ObjectSerializationUtil.getInstance().fromBytesToObject(inContent);
	}

	@Override
	public byte[] fromObjectToBytes(Object obj) throws IOException {
		return ObjectSerializationUtil.getInstance().fromObjectToBytes(obj);
	}


}